package com.changgou.config.pojo;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @ Author     ：Bing
 * @ Date       ：Created in 16:13 2020/3/4
 * @ Description：字典数据表
 * @Version: 1.0$
 */
@ApiModel("字典数据表")
@Data
@NoArgsConstructor
@Table(name = "sys_dict_data")
public class DictData {

    @Id
    @ApiModelProperty(name="字典编码")
    @Column(name = "dict_code")
    private Integer dictCode;

    @ApiModelProperty(name = "字典排序")
    @Column(name = "dict_sort")
    private Integer dictSort;

    @ApiModelProperty(name="字典标签")
    @Column(name = "dict_label")
    private String dictLabel;

    @ApiModelProperty(name = "字典键值")
    @Column(name = "dict_value")
    private String dictValue;

    @ApiModelProperty(name = "字典类型")
    @Column(name = "dict_type")
    private String dictType;

    @ApiModelProperty(name = "样式属性")
    @Column(name = "css_class")
    private String cssClass;

    @ApiModelProperty(name = "list_class")
    @Column(name = "list_class")
    private String listClass;

    @ApiModelProperty(name = "是否默认")
    @Column(name = "is_default")
    private String isDefault;

    @ApiModelProperty(name = "状态 0正常 1停用")
    @Column(name = "status")
    private String status;

    @ApiModelProperty(name = "创建者")
    @Column(name = "create_by")
    private String createBy;

    @ApiModelProperty(name = "创建时间")
    @Column(name = "create_time")
    private Date createTime;

    @ApiModelProperty(name = "更新者")
    @Column(name = "update_by")
    private String updateBy;

    @ApiModelProperty(name = "更新时间")
    @Column(name = "update_time")
    private Date updateTime;

    @ApiModelProperty(name = "备注")
    @Column(name = "remark")
    private String remark;


}
